package com.clayecloud.common.admin.services;

import com.clayecloud.common.entity.House;
import com.clayecloud.common.utils.MessageUtil;

import java.util.List;

/**
* @author  ClayeLink
* @date  2021/12/31 14:51
*/
public interface HouseService {

    MessageUtil deleteByPrimaryKey(Integer houseId);

    int insert(House record);

    int insertSelective(House record);

    House selectByPrimaryKey(Integer houseId);

    MessageUtil updateByPrimaryKeySelective(House record);

    int updateByPrimaryKey(House record);

    MessageUtil<List<House>> selectAll(Integer size, Integer page);

}
